<h1>New product</h1>

<%= error_messages_for :product %>

<% form_for(:product, :url => products_path) do |f| %>
    <%= render :partial => 'form', :object => f %>
    <%= submit_tag "Create" %>
<% end %>

<%= link_to 'Back', products_path %>
